package com.mentaleye.biz;

import java.util.List;

import com.mentaleye.bean.PermissionsBean;
import com.mentaleye.dal.model.Permissions;
import com.mentaleye.dal.model.PermissionsExample;
import com.mentaleye.util.CommonPage;
import com.mentaleye.util.CommonResult;

public interface PermissionsBiz {
	
	
	CommonResult editPermissions(PermissionsBean permissionsBean);
	
	
	CommonResult deletePermissions(List<Integer> permissionsId);
	
	
	void queryPermissions(CommonPage commonPage);
	
	
	List<Permissions> queryPermissions(PermissionsExample example);

	public PermissionsBean queryPermissions(Integer permissionsId);
	
	public PermissionsBean queryPermissionsByparentpermissionsId(Integer parentpermissionsId);
}
